package org.tea.inventory.constants;

import org.tea.inventory.cache.constans.CacheConstants;

/**
 * @author hanzy
 * @description
 * @date 2023年04月04日 16:40
 */
public class MallConstant {
    //    产品属性
    public static final Integer VIRTUAL = 0; //0-虚拟
    public static final Integer REAL = 1;//1-实物
    //    商品种类
    public static final Integer INTEGRAL = 0; //0-积分
    public static final Integer FESTIVAL = 1;//1-活动
    //    兑换方式 0-无需快递 1-快递
    public static final Integer NO_EXPRESS = 0;//0-办公室领取
    public static final Integer EXPRESS = 1;//1-快递
    public static final Integer CDkey = 2;//2-券码兑换
    public static final Integer OFFLINE = 3;//3-线下

    public static final String ANSWER = CacheConstants.redisKey + "ANSWER:";
    public static final String YX_ANSWER = CacheConstants.redisKey + "YX:ANSWER:";
    public static final String YX_ANSWER_NUM = CacheConstants.redisKey + "YX:ANSWER:NUM:";
    public static final String ANSWER_NUM = CacheConstants.redisKey + "ANSWER:NUM:";

    public static final String USER_SIGN_KEY = CacheConstants.redisKey + "USER:SIGN:";//签到

    public static final String MOON_FESTIVAL = CacheConstants.redisKey + "MoonFestival:USER:";//中秋
    public static final String RED_PACKET = CacheConstants.redisKey + "RedPacket:USER:";//红包
    public static final String NEW_YEAR_2048 = CacheConstants.redisKey + "NewYear:USER:";//元旦2048

    public static final String QX_ANSWER = CacheConstants.redisKey + "QX:ANSWER:";
    public static final String QX_ANSWER_NUM = CacheConstants.redisKey + "QX:ANSWER:NUM:";

    public static final String MID_AUTUMN_SIGN = CacheConstants.redisKey + "MIDAUTUMN:SIGN:";//中秋签到
    public static final String ACT_SIGN = CacheConstants.redisKey + "ACT:SIGN:";//活动签到

}
